package com.lyf.service;

import com.lyf.entity.User;

import java.util.List;

public interface UserService {
    //模糊搜索
    List<User> findByNameOrPhoneCode(String name, String phoneCode);

    void update(User user);

    User findOne(String id);

    List<User> findAll();

    void save(User user);

    void delete(String id);
}
